<?php

namespace app\common\validate;

use think\Validate;

class BannerValidate extends BaseValidate {
	/**
	 * 验证规则
	 */
	protected $field = [
		'id'          => '',
		'image'       => '图片',
		'weight'      => '权重',
		'type'        => '展示区域 0=首页轮播图 1=个人中心banner',
		'content'     => '文本内容',
		'create_time' => '',
		'update_time' => '',
		'admin_uuid'  => '',
		'update_uuid' => '',

	];

	/**
	 * 验证场景
	 */
	protected $scene = [
		'index'  => [],
		'save'   => [],
		'update' => [],
		'delete' => [],
		'read'   => []
	];

	/**
	 * 提示消息
	 */
	protected $message = [

	];


}
